package com.eastfair.home.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.home.dto.ExhibitionManageContactDTO;
import com.eastfair.home.dto.ExhibitionManageContactModifyDTO;
import com.eastfair.home.dto.ExhibitionManageContactPageQuery;
import com.eastfair.home.entity.ExhibitionManageContact;
import com.eastfair.home.vo.ExhibitionManageContactVO;
import com.eastfair.home.vo.ExhibitionManageTimingVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 展会联系人
 * </p>
 *
 * @author linan
 * @date 2022-10-22
 */
public interface ExhibitionManageContactService extends SuperService<ExhibitionManageContact> {
    /**
     * do转vo
     *
     * @param model
     */
    ExhibitionManageContactVO doToVo(ExhibitionManageContact model);

    /**
     * do转vo
     *
     * @param modelList
     */
    List<ExhibitionManageContactVO> doToVos(List<ExhibitionManageContact> modelList);


    /**
     * 通用查询
     *
     * @param modelDTO DTO
     * @param ids      主键id集合
     * @return list
     */
    List<ExhibitionManageContact> list(ExhibitionManageContactDTO modelDTO, List<Long> ids);

    /**
     * 通用查询
     *
     * @param modelDTO DTO
     * @param ids      主键id集合
     * @return list
     */
    List<ExhibitionManageContact> listOfCache(ExhibitionManageContactDTO modelDTO, List<Long> ids);

    /**
     * 编辑展会联系人
     * @param params params
     * @return Boolean
     */
    Boolean updateExhibitionContact(ExhibitionManageContactModifyDTO params);

    /**
     * 查询展会联系人
     * @param params
     * @return
     */
    List<ExhibitionManageContactVO> queryExhibitionContact(ExhibitionManageContactPageQuery params);
}
